﻿Public Class XuatChiTietBL
    Dim xctDA As New XuatChiTietDA

    Public Function InXuatCT(ByVal xct As XuatChiTietDT)
        Return xctDA.InXuatCT(xct)
    End Function

    Public Function UpXuatCT(ByVal xct As XuatChiTietDT, ByVal flagIsUp As Boolean)
        Return xctDA.UpXuatCT(xct)
    End Function

    Public Function GetData(ByVal dieukien As String)
        Return xctDA.GetData(dieukien)
    End Function

    Public Function GetSTT(ByVal maxuat As String)
        Return xctDA.GetSTT(maxuat)
    End Function

    Public Function GetTong(ByVal ma As String, ByVal loai As Integer)
        Return xctDA.TinhTongSoLuong(ma, loai)
    End Function
End Class
